package com.qinyeit.serviceapp.utils;

import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.Calendar;
import java.util.UUID;

public class LocalUtils {
    public static String getOrderNo(){
        return DateFormatUtils.format(Calendar.getInstance(), "yyMMddHHmmssSSS");
    }

    public static String getUUID(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }
}
